package com.yc.jpyy.fileattachment.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;
import com.yc.jpyy.base.dao.BaseDao;

public interface FileAttachmentDao extends BaseDao{


	int addFileAttachmentDao(Map<String, Object> paramsMap) throws DataAccessException;

	int updateFileAttachmentDao(Map<String, Object> paramsMap) throws DataAccessException;


	int delFileAttachmentDao(Map<String, Object> paramsMap) throws DataAccessException;
	
	Map<String, Object> findFileAttachmentByIdDao(Map<String, Object> paramsMap) throws DataAccessException;
	
	 //分页查询
	List<Map<String, Object>> findFileAttachmentDao(Map<String, Object> paramsMap)throws DataAccessException;
	  
	  //查询总数
	int findCountFileAttachmentDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	String getUpLastver(Map<String, Object> paramsMap) throws DataAccessException;

}
